home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Fun House 1
/
CD Fun House (Wayzata Technology).iso
/
•AdventureLand•
/
Adventures
/
SpaceEscape ••••
/
SpaceEscape ееее
/
card_13840.txt
< prev
next >
Wrap
Text File
|
1990-10-02
|
2KB
|
102 lines
-- card: 13840 from stack: in
-- bmap block id: 20512
-- flags: 4000
-- background id: 8902
-- name: hallway open button
----- HyperTalk script -----
on opencard
put "The label on this button is written in Droolish, which"& " you unfortunately cannot read." into field "info"
pass opencard
end opencard
-- part 2 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=161 top=302 right=323 bottom=192
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: OK
----- HyperTalk script -----
on mouseUp
global filter
if filter is "yes" then
beep
exit mouseup
end if
global donteat
get bkgnd field "do what"
if the number of words in it > 1 then
beep 2
oneword
exit mouseup
end if
if it contains "examine" or it contains "look" then
send "opencard" to this card
exit mouseup
end if
if it contains "read" or it contains "translate" then
send "opencard" to this card
exit mouseup
end if
if it contains "push" or it contains "press" or it contains "hit"then
global doorhide
if doorhide is "closed" then
put "You push the button, and the hall door slides open.≈∏" into field "info"
global filter
put "yes" into filter
global doorhide
put "" into doorhide
exit mouseup
else
put "The hall door slides closed.≈∏" into field "info"
global filter
put "yes" into filter
global doorhide
put "closed" into doorhide
exit mouseup
end if
end if
if it contains "get" or it contains "move" then
put "The button is firmly attached to the wall." into field "info"
exit mouseup
end if
if it contains "eat" or it contains "consume" then
put donteat into field "info"
exit mouseup
end if
if it contains "go" then
put "You cannot go into the button. Think about it." into field "info"
exit mouseup
end if
if it is "" then
put "Speak up. I can't hear you." into field "info"
exit mouseup
end if
idunno
end mouseUp
on cont
global filter
if filter is "yes" then
put "" into filter
go to card "hallway"
send "opencard" to card "hallway"
end if
end cont
-- part contents for background part 2
----- text -----
What would you like to do with the button?
-- part contents for background part 7
----- text -----
Button